truthtables in python programing